﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Desk_khgj.aspx.vb" Inherits="Slxt.Desk_khgj" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head runat="server">
    <title>客户跟进提醒</title>
<link href="/_nav/menu.css" type="text/css" rel="stylesheet" />
<link href="/_common/styles/global.css" type="text/css" rel="stylesheet" />
<link href="/_grid/map_grid.css" type="text/css" rel="stylesheet" />
<link href="/_forms/styles/form.css" type="text/css" rel="stylesheet" />
<link href="/_common/styles/select.css" type="text/css" rel="stylesheet" />
<style type="text/css">
BODY { BORDER-RIGHT: 0px; BORDER-TOP: 0px; FONT-SIZE: 9pt; BORDER-LEFT: 0px; CURSOR: default; BORDER-BOTTOM: 0px; FONT-FAMILY: 宋体 }
a{cursor:pointer;text-decoration:underline;}
.TextHlk { COLOR: black }
</style>
<script type="text/javascript" src="/_common/scripts/global.js"></script>
<script type="text/javascript" src="/_forms/FormBase.js"></script>
<script type="text/javascript" src="/_controls/setting.js"></script>
<script type="text/javascript" src="/_controls/util/util.js"></script>
<script type="text/javascript" src="/_controls/datetime/date.js"></script>
<script type="text/javascript" src="/_controls/number/number.js"></script>
<script type="text/javascript" src="/_grid/rep_grid.js"></script>
<script type="text/javascript" src="/_nav/menu.js"></script>
<script type="text/javascript" src="/_controls/navigation/map.js"></script>
	<script type="text/javascript">
	    function doOpenKhgl(InviteBidState) {
	        
	        var sParaList = "";
	        var sFuncCode, sParamList, sType;
	        if (document.getElementById("__bjtype") && document.getElementById("__bjtype").value == "zygw") {
	            sType = "zygw"
	        }
	        else {
	            sType = "xsgl"
	        
	        }
	        switch (InviteBidState) {
	            case "Dgj":
	                sFuncCode = "01010210";
	                sParaList += "viewtype=" + "zygw_dgj";
	                sParaList += "&projguid=" + document.getElementById("__projguid").value;
	                break;
	            case "Jrxgj":
	                sFuncCode = "01010210";
	                sParaList += "viewtype=" + sType + "_jrxgj";
	                sParaList += "&projguid=" + document.getElementById("__projguid").value;
	                break;
	            case "Yqwgj":
	                sFuncCode = "01010210";
	                sParaList += "viewtype=" + sType + "_yqwgj";
	                sParaList += "&projguid=" + document.getElementById("__projguid").value;
	                break;

	            default:
	                break;
	        }

	        GoFromMyDesktop(sFuncCode, sParaList)

	    }

	    function window.onload() {
//	        if (document.getElementById("__bjtype") && document.getElementById("__bjtype").value == "zygw") {
//	            document.getElementById("tdDgj").style.display = "none";
//	        }
//	        else {
//	            document.getElementById("tdDgj").style.display = "";
//	        }
	    }

    </script>
</head>
    <body bottomMargin="0" style="background-color:White" leftMargin="12" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
		    <asp:TextBox ID="txtJrxgjcount" Runat="server" style="DISPLAY: none"></asp:TextBox>
		    <asp:TextBox ID="txtYqwgjcount" Runat="server" style="DISPLAY: none"></asp:TextBox>
		    <asp:TextBox ID="txtJqgsrcount" Runat="server" style="DISPLAY: none"></asp:TextBox>
			<table style="TABLE-LAYOUT: fixed; FONT-SIZE: 9pt" cellSpacing="0"  cellPadding="1">
				<tr>
					<td valign="top">
						<table width="100%" height="100%" style="table-layout: fixed;" cellSpacing="0" cellPadding="3">
                            <tr id="tdDgj" style="">
                                <td height=28 >累计有 <a onclick="doOpenKhgl('Dgj')"><%=strDgjcount%></a> 个分配待跟进客户</td>
                            </tr>
                            <tr>
                                <td height=28>今天需要跟进的客户有 <a onclick="doOpenKhgl('Jrxgj')"><%=strJrxgjcount%></a> 人</td>
                            </tr>
                            <tr>
                                <td height=28>逾期未跟进的客户有 <a onclick="doOpenKhgl('Yqwgj')"><%=strYqwgjcount%></a> 人</td>
                            </tr>
                            <tr>
                                <td height=28>近期过生日的客户有 <%=strJqgsrcount%> 人</td>
                            </tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
